package com.springdoor.goods.domain;

import com.springdoor.common.annotation.Excel;
import com.springdoor.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图片资源对象 sprd_common_images
 * 
 * @author ruoyi
 * @date 2024-11-14
 */
public class SprdCommonImages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片id */
    private Long imageId;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String gNumber;

    /** 商品编码 */
    @Excel(name = "商品名称")
    private String gName;

    /** 图片类型 */
    @Excel(name = "图片类型")
    private String imageType;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String imageName;

    /** 图片存储源 */
    @Excel(name = "图片存储源")
    private String imageServer;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imagePath;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Integer orderNum;

    /** 删除标志（0代表存在 1代表删除） */
    private String delFlag;

    public void setImageId(Long imageId) 
    {
        this.imageId = imageId;
    }

    public Long getImageId() 
    {
        return imageId;
    }
    public void setgNumber(String gNumber) 
    {
        this.gNumber = gNumber;
    }

    public String getgNumber() 
    {
        return gNumber;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public void setImageType(String imageType)
    {
        this.imageType = imageType;
    }

    public String getImageType() 
    {
        return imageType;
    }
    public void setImageName(String imageName) 
    {
        this.imageName = imageName;
    }

    public String getImageName() 
    {
        return imageName;
    }
    public void setImageServer(String imageServer) 
    {
        this.imageServer = imageServer;
    }

    public String getImageServer() 
    {
        return imageServer;
    }
    public void setImagePath(String imagePath) 
    {
        this.imagePath = imagePath;
    }

    public String getImagePath() 
    {
        return imagePath;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("gNumber", getgNumber())
            .append("gName", getgName())
            .append("imageType", getImageType())
            .append("imageName", getImageName())
            .append("imageServer", getImageServer())
            .append("imagePath", getImagePath())
            .append("orderNum", getOrderNum())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
